home *** CD-ROM | disk | FTP | other *** search
/ Software 2000 / Software 2000 Volume 1 (Disc 1 of 2).iso / utilities / u118.dms / in.adf / iff / README.sjh < prev    next >
Encoding:
Text File  |  1990-11-30  |  1.4 KB  |  34 lines

  1. (c) S.Hawtin 1990
  2.  
  3.   This directory contains some old example code from Electronic Arts, I 
  4. have included it to show how to get round some of the bugs in NorthC.  The 
  5. code reads iff image files, I have only changed the code enough to get the 
  6. "showilbm" program working, I have steadfastly resisted all temptation to 
  7. "improve" the code.  There are a number of places where NorthC changes the 
  8. way the code could be written, for example in NorthC when the program is 
  9. started from the workbench the filename can be passed as the second argument 
  10. rather than wandering around the workbench structures.
  11.  
  12.   The only program in this directory that works is "showilbm", this reads 
  13. ilbm image files, such as for example those produced by "Deluxe Paint II" 
  14. and displays them on the screen.
  15.  
  16.   The only reason I chose to port this program was that I wanted to 
  17. display a picture and this seemed to be the only program to do it in my 
  18. current collection, I believe that there are more recient program that do 
  19. the same thing better.
  20.  
  21.   Once again this example is of little use to you unless you have a copy 
  22. of the include files, talk to Commodore about that.
  23.  
  24.   The sections of code that I have changed are in the following format
  25.  
  26.     #ifdef NORTHC
  27.     /* Section of NorthC specific code */
  28.     #else
  29.     /* Section of original code */
  30.     #endif
  31.  
  32. the individual changes are explained by each section, most of the changes 
  33. are to get round bugs in NorthC 1.3.
  34.